home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-14 / chk4hypd.zip / READ.ME < prev   
Text File  |  1991-12-29  |  1KB  |  24 lines

  1.      CHK4HYPD is a very simple program that checks to see whether HyperDisk
  2. v4.20+ is installed.  If it is, it returns ERRORLEVEL 1; if not, CHK4HYPD
  3. returns ERRORLEVEL 0.  Assembler source is included.  Feel free to look at the
  4. code for more details on how CHK4HYPD works, and modify it if you want.
  5.      If you have an assembler, and CHK4HYPD isn't working for you and your
  6. version of HyperDisk, there are two hooks in the source that allow you to
  7. assemble three different versions.  They differ slightly in how strictly they
  8. check for HyperDisk.
  9.      The following example batch file shows how to use CHK4HYPD:
  10.  
  11.      CHK4HYPD
  12.      IF ERRORLEVEL 1 GOTO INSTALLED
  13.      ECHO HyperDisk is *NOT* installed!
  14.      REM Wait for key, install HyperDisk, format a floppy, play music, whatever
  15.      GOTO THEEND
  16.      :INSTALLED
  17.      ECHO HyperDisk *IS* installed!
  18.      REM Do something disk-intensive, uninstall it, copy files, whatever
  19.      :THEEND
  20.  
  21.      I release this program to the public domain, and give NO WARRANTY AT ALL.
  22.  
  23.                                        ──Michael Shields 12-29-91
  24.